ExamPlay Light Logo
Log Masuk

Computer Science for IGCSE & O level - Programming (Section 7 - No. 34)

What is the output of "Hello".Substring(2, 2)?
He
ll
lo
llo

Penjelasan

Substring(startIndex, length). Starts at index 2 (the third character, 'l') and retrieves two characters, which is 'll'.

Komen (0)

Log Masuk Untuk Mengulas
Iklan
BrainBehindX Inc Logo
©2026; Dikuasakan Oleh BrainBehindX Inc